{% extends 'base.html' %}
{% from 'macros.html' import form_field %}

{% block content %}
<h2>新建笔记</h2>
<form method="POST">
    {{ form.csrf_token }}
    {{ form_field(form.body, rows=5, cols=50) }}
    {{ form.submit }}
</form>
{% endblock content %}